package com.ruoyi.rule.domain.emun;

public enum OperatorType {
    
    ADD(">", "大于"),
    SUB("<", "小于"),
    MUL(">=", "大于等于"),
    DIV("<=", "小于等于"),
    EQUALS("=", "等于"),
    RANGE("range", "在范围内"),
    NOT_RANGE("notRange", "不在范围内"),
    NOT_EQUALS("!=", "不等于");

    private String key;
    private String name;

    private OperatorType(String key, String name) {
        this.key = key;
        this.name = name;
        }
        
        public String getName() {
        return name;
        }
        
        public String getKey() {
        return key;
        }
}
